﻿html {
    height: 100%;
}

body {
    height: 100%;
    position: relative;
    z-index: 1;
    font-family: Arial,'Microsoft YaHei',Arial;
    font-size: 14px;
    background: #000;
}
/*body.popup{
      overflow:hidden;
}*/
.page-wrapper {
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-color: #000;
    background-position: top center;
    background-size: 100% auto;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1000px;
    margin: auto;
    position: relative;
    min-height: 1413px;
}

.languages {
    -moz-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

    .languages:not(.fix-top) {
        position: absolute;
        bottom: 20%;
        left: 0px;
        right: 0px;
    }

    .languages.fix-top {
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        background-color: #000;
    }

        .languages.fix-top .link-lang {
            background-color: #181818;
        }

    .languages:after {
        clear: both;
        content: ' ';
        display: table;
    }

.lang-item {
    width: 20%;
    float: left;
    padding: 0px;
    text-align: center;
}

.link-lang.active {
    border: 1px solid #fff;
}

.link-lang {
    display: inline-block;
    background-color: rgba(0,0,0,0.8);
    border-radius: 5px;
    margin: 5px;
    border: 1px solid #000;
}

    .link-lang img {
        margin: auto;
    }

.article-container h2 {
    text-align: center;
}

.article-container {
    background-color: #000;
    /*position: fixed;*/
    /*left: 0px;
    top: 0px;
    right: 0px;
    bottom:0px;*/
    color: #fff;
    line-height: 100%;
    padding: 10px 20px;
    overflow: auto;
    padding-bottom: 100px;
}

    .article-container img {
        margin: auto;
        display: block;
        max-width: 100%;
    }

    .article-container p {
        padding: 10px 0px 20px 0px;
        width: 550px;
        margin: auto;
        font-size: 16px;
        line-height: 24px;
        max-width: 100%;
    }

a.button-close {
    color: #fff;
    font-size: 20px;
    position: fixed;
    right: 30px;
    top: 10px;
}

.scroll-top {
    background: #333;
    padding: 0px 10px;
    display: inline-block;
    border-radius: 5px;
    color: #fff;
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 30px;
    line-height: 45px;
    height: 45px;
}

a.back-to ,a.back-to:focus{
    border: 1px solid #666;
    padding: 5px;
    display: inline-block;
    border-radius: 5px;
    background: #181818;
    color: #fff;
    text-decoration:none;
}

@media(max-width:999px) {
    .page-wrapper {
        padding-bottom: 141.3%;
        min-height: 100px;
    }

    a.button-close {
        right: 3px;
        top: 3px;
    }
}

@media(max-width:479px) {
    .link-lang {
        padding: 5px 5px 5px 5px;
    }

    .article-container h2 {
        font-size: 18px;
    }

    .article-container p {
        font-size: 12px;
    }
}
